package io.renren.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 图片位置表
 */
@ApiModel(value = "io-renren-modules-shop-entity-GoodsPic")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "goods_pic")
public class GoodsPic {
    /**
     * 主键id
     */
    @TableId(value = "pic_id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer picId;

    /**
     * 图片路径
     */
    @TableField(value = "pic_path")
    @ApiModelProperty(value = "图片路径")
    private String picPath;

    /**
     * 商品id
     */
    @TableField(value = "goods_id")
    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

}
